<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        var obj1 = {name:'张三',sayName(a,b,c){console.log(this,a,b,c)}};
        var obj2 = {name:'李四'};
       obj1.sayName.call(obj2,1,2,3)
       obj1.sayName.apply(obj2,[1,6,9])  
       obj1.sayName.bind(obj2,1,6,9)()  
       var arr = [59,15,22,74,10];
       console.log(Math.max.apply(null,arr))
       console.log(Math.max.call(null,...arr))
       console.log(Math.max.bind(null,...arr)())
    </script>
</body>
</html>